package ru.zombator.taskman.core.query.payload;

import ru.zombator.taskman.core.domain.ITaskProject;

/**
 * Запрос на присоединение к проекту
 * @author nvamelichev
 *
 */
public class JoinProjectRequest implements IPayload {
	private static final long serialVersionUID = 1L;

	private ITaskProject project;
	private String password;
	
	public JoinProjectRequest(ITaskProject project, String password) {
		this.project = project;
		this.password = password;
	}
	
	public ITaskProject getProject() {
		return this.project;
	}
	
	public String getPassword() {
		return this.password;
	}
}
